@import "~antd/lib/style/themes/default.less";
.shuyunOperatorPanel {
  padding: 8px 0px 0px;
  margin-bottom: 12px; // position: fixed;
  :global {
    .ant-card-body {
      padding: 0px 24px;
    }
  }
  .operatorBarBtn {
    margin-right: 8px;
    margin-bottom: 8px;
  }
  .tableListBasicOperatorBtn {
    margin-right: 8px;
    margin-bottom: 8px;
  }
}

.shuyunStatusPanel {
  padding: 0px;
  margin-bottom: 12px; // position: fixed;
  :global {
    .ant-card-body {
      padding: 0px 24px;
    }
    .ant-tabs-bar {
      margin: 0px;
    }
  }
  .operatorBarBtn {
    margin-right: 8px;
    margin-bottom: 8px;
  }
  .tableListBasicOperatorBtn {
    margin-right: 8px;
    margin-bottom: 8px;
  }
}
.avatar-uploader{
  width: 60px;
  height: 60px;
}

.orderTable {
  .nopadding {
    padding: 0px !important;
  } // .moreTextInTable {
  //     overflow: hidden;
  //     text-overflow: ellipsis;
  //     white-space: nowrap;
  //     width: 100px;
  // }
  :global {
    // ::-webkit-scrollbar {
    //   display: inline-block;
    // }
    // ::-webkit-scrollbar :hover {
    //   display: inline-block;
    // }
    ::-webkit-scrollbar {
      width: 17px;
      height: 17px;
    }
    ::-webkit-scrollbar-track,
    ::-webkit-scrollbar-thumb {
      border-radius: 999px;
      border: 5px solid transparent;
    }
    ::-webkit-scrollbar-track {
      box-shadow: 0px 0px 0px rgba(0, 0, 0, .2) inset;
    }
    ::-webkit-scrollbar-thumb {
      transition: all 1s ease;
      -webkit-transition: all 1s ease;
      -o-transition: all 1s ease;
      min-height: 20px;
      background-clip: content-box;
      box-shadow: 0 0 0 0px rgba(0, 0, 0, .2) inset;
    }
    ::-webkit-scrollbar-corner {
      background: transparent;
    }
    .ant-table:hover {
      // ::-webkit-scrollbar-track {
      //   box-shadow: 0px 0px 0px rgba(0, 0, 0, .2) inset;
      // }
      ::-webkit-scrollbar-thumb {
        min-height: 20px;
        background-clip: content-box;
        box-shadow: 0 0 0 5px rgba(0, 0, 0, .2) inset;
      }
    }
    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td {
      padding: 8px 0px; // padding: 0px;
      word-break: break-all;
      textarea {
        background-color: initial;
        opacity: initial;
        cursor: initial;
        color: initial;
        padding: 4px 9px !important;
        overflow: hidden; // margin-top: 10px;
        // margin-bottom: 0px;
        line-height: 1.6;
        border: 0px;
        font-size: 14px;
        height: 38px;
        min-height: 38px;
        border-radius: 0px;
      }
    } // .ant-table-header {
    //     padding-bottom: 6px !important;
    // }
    // .ant-table-header>table {
    //     border-bottom: 1px solid black !important;
    // }
    // .ant-table-header>table>thead>tr>th {
    //     background: #e8e8e8;
    // }
    .ant-table-tbody>tr.ant-table-row-selected td {
      background: #e6f7ff;
    }
    .ant-table-pagination {
      margin-top: 24px;
    }
    .ant-table-thead>tr>th {
      padding: 10px; // background: #fafafa;
      -webkit-transition: background .3s ease;
      -o-transition: background .3s ease;
      transition: background .3s ease;
      text-align: center;
      color: rgba(0, 0, 0, 0.85);
      font-weight: 500;
      border-bottom: 1px solid #e8e8e8;
      span {
        font-size: 1.1em;
        font-weight: bold;
        .ant-table-column-sorter {
          margin-bottom: 3px;
          .anticon-caret-up {
            font-size: 18px;
          }
          .anticon-caret-down {
            font-size: 18px;
          }
        }
        .anticon-filter {
          margin-bottom: 1px;
          font-size: 18px;
        }
      }
    }
    .ant-table-tbody>tr>td {
      border-bottom: 1px solid #e8e8e8;
      border-bottom-width: 1px;
      border-bottom-style: solid;
      border-bottom-color: rgb(232, 232, 232);
      -webkit-transition: all .3s;
      -o-transition: all .3s;
      transition: all .3s;
      text-align: center;
    }
    .ant-table-thead>tr>th.ant-table-selection-column,
    .ant-table-tbody>tr>td.ant-table-selection-column,
    .ant-table-tbody>tr>td.ant-table-row-expand-icon-cell {
      text-align: center;
      min-width: 20px;
      max-width: 50px;
      width: 20px;
      padding: 3px;
    } // .ant-table-body {
    //   min-height: calc(~"100vh - 350px");
    // }
    // .ant-table-body-outer .ant-table-expanded-row-level-1 td>* {
    //   visibility: hidden;
    // }
    .ant-table-thead>tr>th.ant-table-expand-icon-th {
      text-align: center;
      min-width: 27px;
      max-width: 27px;
      width: 27px;
      padding: 3px;
    }
    .ant-table-row-expand-icon,
    .ant-checkbox-inner {
      width: 20px;
      height: 20px;
    }
    .ant-checkbox-inner:after {
      left: 4.7px;
      top: 0.4px;
      width: 9px;
      height: 14px;
      border: 3px solid #fff;
      border-top: 0;
      border-left: 0;
    }
    .ant-table-row-expanded:after,
    .ant-table-row-collapsed:after {
      font-size: 18px;
    }
    .ant-table-expanded-row {
      box-shadow: rgba(154, 152, 152, 0.37) 3px 3px 10px inset;
    }
    .ant-checkbox-indeterminate .ant-checkbox-inner:after {
      left: 9.1px;
      top: 9.2px;
      width: 11px;
      height: 11px;
      border: 3px solid #1890ff;
      border-radius: 2px;
    }
    .ant-badge-status-dot {
      width: 9px;
      height: 9px;
    }
  }
  .tableAlert {
    margin-bottom: 2px;
    :global {
      // .ant-alert-info {
      //     border: 1px solid #91d5ff;
      //     background-color: #e6f7ff;
      // }
      .ant-alert {
        padding: 2px 15px 2px 37px;
        .ant-alert-icon {
          top: 6px;
        }
      }
    }
  }
}


.statisticsTableLine{
  width: 100%;
  margin: 0 20px;
  text-align: right;
  span{
    display: inline-block;
    margin: 0  20px;
  }
}
.tableList {
  margin-top: -12px;
  .tableListOperator {
    // margin-bottom: 8px;
    // margin-top: 8px;
    .tableListBasicOperatorBtn {
      margin-right: 8px;
      margin-bottom: 8px;
    }
    .tableListOperatorBtn {
      margin-right: 8px;
      margin-bottom: 8px;
    }
  }
}

.tableListForm,
.modalForm {
  :global {
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
      -webkit-appearance: none;
    }
    input[type="number"] {
      -moz-appearance: textfield;
    }
    margin-bottom: 12px;
    .ant-modal-body {
      padding: 12px;
      .ant-card-head {
        min-height: 32px;
        .ant-card-head-title {
          padding: 0;
        }
      }
    }
    .ant-collapse>.ant-collapse-item .ant-collapse-header {
      line-height: 26px;
      padding: 8px 0 4px 40px;
      color: rgba(0, 0, 0, 0.85);
      cursor: pointer;
      position: relative;
      -webkit-transition: all .3s;
      -o-transition: all .3s;
      transition: all .3s;
    }
    .ant-form-item {
      margin-bottom: 24px;
      margin-right: 0;
      display: flex;
      >.ant-form-item-label {
        width: auto;
        min-width: 120px;
        float: right;
        line-height: 24px;
        padding-right: 8px;
      }
      >.ant-form-item-control-wrapper {
        max-width: 632px;
        .ant-form-item-control {
          line-height: 24px;
          .ant-select {
            top: 0px;
          }
        }
        .ant-form-text {
          overflow-wrap: break-word;
          width: 100%;
        }
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
      width: 100%;
    }
    .ant-input-number {
      width: 100%;
      height: 33px;
    }
    .ant-calendar-picker {
      width: 100%;
    }
    .ant-form-explain,
    .ant-form-extra {
      line-height: 1.5;
      -webkit-transition: color 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
      transition: color 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
      margin-top: -1px;
      font-weight: bold;
    }
    .ant-transfer {
      text-align: center;
      .ant-transfer-list {
        text-align: left;
      }
    }
  }
}

.tableRowSelected {
  outline: blue auto 5px;
}

@media screen and (min-width: @screen-lg) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
  }

  .countBoxCell {
    width: 20%;
  }
}

@media screen and (max-width: @screen-lg) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
  }

  .countBoxCell {
    width: 20%;
  }
}

@media screen and (max-width: @screen-md) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 8px;
  }

  .countBoxCell {
    width: 50%;
  }
}

.countBoxCell {
  display: inline-block;
  text-align: center;
  .countBoxCellValue {
    font-size: 24px;
    font-weight: 500;
    line-height: 48px;
  }
  .countBoxCellLabel {
    font-size: 16px;
    line-height: 48px;
    white-space: nowrap;
  }
}
